//城市地区数据模块
//数据操作模块
var sqlHelper = require('../conf/sqlHelper');


function getCitylistByUpid(up_id,callback) {
	var sqlstr='select * from shop_city_area where up_id=?';
    var param=[up_id];

    sqlHelper.ExecuteReader(sqlstr,param,function(results){
    	if(results){   
    		callback(results);
    	}    		
    });
}

exports.getCitylistByUpid=getCitylistByUpid;